package com.wwz.feign;

import org.springframework.cloud.netflix.ribbon.RibbonClient;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

import java.math.BigDecimal;

@FeignClient(value="productservice1")
public interface ProductFeign {
    @RequestMapping("/api/update")
    Object update(@RequestParam("status")String  status,@RequestParam("num")String num);

}
